package com.sky.mapper;

import com.sky.entity.Category;
import com.sky.entity.Setmeal;
import com.sky.entity.User;
import com.sky.vo.DishItemVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Mapper
public interface UserMapper {
    User selectOne(User userQuery);

    void insert(User user);

    List<Setmeal> selectsetmeal(Long categoryId);


    List<DishItemVO> selectsetmealdish(Long id);

    List<Map<String, Object>> selectuserStatistics(ArrayList<LocalDate> localDates);
}
